<?php 
session_start();

unset($_SESSION);

header('content-type:text/html; charset=utf-8');

header('Refresh:1;url=/index.php');
print_r("<h3>已退出！</h3>");

session_destroy();
?>